projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e78ea3d
)
(require-final-newline): Fix custom :type.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 20 Jun 1997 02:59:38 +0000
(
02:59
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 20 Jun 1997 02:59:38 +0000
(
02:59
+0000)
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index 85fe7c24d78fce951d6557744af6d43ceb9bc083..93ca1c7d275696da3574ce70f6c2b8093f19037d 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-220,7
+220,9
@@
Includes the new backup. Must be > 0"
"*Value of t says silently ensure a file ends in a newline when it is saved.
Non-nil but not t says ask user whether to add a newline when there isn't one.
nil means don't add newlines."
- :type 'boolean
+ :type '(choice (const :tag "Off" nil)
+ (const :tag "Add" t)
+ (sexp :tag "Ask" :format "%t\n" ask))
:group 'editing-basics)
(defcustom auto-save-default t